Localization
Localization
You can provide your own names for components.
Just provide bundle for your Localizable.strings
:
// Example: configure custom sourceDXChartApp.resourceManager = DXCResourceManager(localizationBundle: .main)
The list of used key/value properties is:
//**MARK: Settings**"Setting.title" = "Settings";"Setting.chartType" = "Chart type";"Setting.highAndLow" = "High and Low";"Setting.verticalGrid" = "Vertical grid";"Setting.horizontalGrid" = "Horizontal grid";"Setting.candleWicks" = "Candle wicks";"Setting.watermark" = "Watermark";"Setting.timezone" = "Timezone";"Setting.theme" = "Theme";"Setting.auto" = "Auto";"Setting.dark" = "Dark";"Setting.light" = "Light";"Setting.bullishBody" = "Bullish body";"Setting.bullishBorder" = "Bullish border";"Setting.bearishBody" = "Bearish body";"Setting.bearishBorder" = "Bearish border";"Setting.up" = "Up";"Setting.down" = "Down";"Setting.none" = "None";"Setting.area" = "Area";"Setting.scatter" = "Scatter";"Setting.doji" = "Doji";"Setting.background" = "Background";"Setting.watermarkColor" = "Watermark";"Setting.grid" = "Grid";"Setting.valuesOnScales" = "Values on scales";"Setting.tradingFromChart" = "Trading from chart";"Setting.showActiveOrders" = "Show active orders";"Setting.showOpenPositions" = "Show open positions";"Setting.autoscalePriceAxis" = "Auto-scale price axis";"Setting.fitStudies" = "Fit studies";"Setting.fitOrders" = "Fit orders";"Setting.fitPositions" = "Fit positions";"Setting.invertScale" = "Invert scale";"Setting.lockScale" = "Lock scale";"Setting.scaleType" = "Scale type";"Setting.sessionBreaks" = "Session breaks";"Setting.extendedHours" = "Extended hours";"Setting.alignDataWithSessionStart" = "Align data with session start";"Setting.priceType" = "Price type";"Setting.volume" = "Volume";"Setting.eventsOnChart" = "Events on chart";"Setting.dividends" = "Dividends";"Setting.splitsAndConsolidations" = "Splits and consolidations";"Setting.earningsAndEstimates" = "Earnings and estimates";"Setting.conferenceCalls" = "Conference calls";"Setting.news" = "News";"Setting.reset" = "Reset";"Setting.on" = "On";"Setting.off" = "Off";//**MARK: Settings sections**"SettingsSection.General" = "General";"SettingsSection.Colors" = "Colors";"SettingsSection.Trading" = "Trading";"SettingsSection.Scale" = "Scale";"SettingsSection.Data" = "Data";"SettingsSection.Events" = "Events";//**MARK: Main Screen**"Main.remove" = "Remove";"Main.done" = "Done";"Main.clearAll" = "Clear";"Main.suspendedTrading" = " Trading has been suspended";"Main.buy" = "Buy %@";"Main.sell" = "Sell %@";"Main.change" = "%@ %%";"Main.NoInternet.title" = "Chart Unavailable";"Main.NoInternet.subtitle"= "No connection to the internet";"Main.NoData.title" = "No data available";"Main.NoData.subtitle"= "Please try again in a minuteor try a different symbol";//**MARK: Aggregation time**"Aggregation.custom" = "Create custom";"Aggregation.second" = "second";"Aggregation.seconds" = "seconds";"Aggregation.minute" = "minute";"Aggregation.minutes" = "minutes";"Aggregation.hour" = "hour";"Aggregation.hours" = "hours";"Aggregation.day" = "day";"Aggregation.days" = "days";"Aggregation.week" = "week";"Aggregation.weeks" = "weeks";"Aggregation.year" = "year";"Aggregation.years" = "years";"Aggregation.month" = "month";"Aggregation.add" = "Add";//**MARK: Drawings**"Drawings.title" = "Drawings";"Drawings.trendLine" = "Trend Line";"Drawings.infoLine" = "Info Line";"Drawings.horizontalRay" = "Horizontal Ray";"Drawings.arrow" = "Arrow";"Drawings.ray" = "Ray";"Drawings.extendedLine" = "Extended Line";"Drawings.priceLine" = "Price Line";"Drawings.timeLine" = "Time Line";"Drawings.trendChannel" = "Trend Channel";"Drawings.regressionTrend" = "Regression Trend";"Drawings.pitchfork" = "Pitchfork";"Drawings.fibonacciRays" = "Fibonacci Rays";"Drawings.fibonacciArcs" = "Fibonacci Arcs";"Drawings.fibRetracements" = "Fibonacci Retracements";"Drawings.fibExtension" = "Fibonacci Extension";"Drawings.fibChannel" = "Fibonacci Channel";"Drawings.fibSpiral" = "Fibonacci Spiral";"Drawings.fibCircles" = "Fibonacci Circles";"Drawings.fibTimezone" = "Fibonacci Timezone";"Drawings.gannSquare" = "Gann Square";"Drawings.gannBox" = "Gann Box";"Drawings.gannFan" = "Gann Fan";"Drawings.highlighter" = "Highlighter";"Drawings.brush" = "Brush";"Drawings.path" = "Path";"Drawings.curve" = "Curve";"Drawings.arrowUp" = "Arrow Up";"Drawings.arrowDown" = "Arrow Down";"Drawings.oval" = "Oval";"Drawings.rectangle" = "Rectangle";"Drawings.elliottImpulse" = "Elliott Impulse (12345)";"Drawings.elliottCorrection" = "Elliott Correction (ABC)";"Drawings.priceRange" = "Price Range";"Drawings.dateRange" = "Date Range";"Drawings.dateAndPriceRange" = "Date and Price Range";"Drawings.priceLabel" = "Price label";"Drawings.callout" = "Callout";"Drawings.icon" = "Icon";"Drawings.text" = "Text";"Drawings.fibTimeExtension" = "Fibonacci Time Extension";"Drawings.cycleBrackets" = "Cycle Brackets ";"Drawings.fibTimeRatios" = "Fibonacci Time Ratios";"Drawings.arc" = "Arc";//**MARK: DrawingSections**"DrawingsSections.treendLines" = "Treend lines";"DrawingsSections.fibonacciAndGanns" = "Fibonacci and ganns";"DrawingsSections.markups" = "Markups";"DrawingsSections.elliots" = "Elliots";"DrawingsSections.ranges" = "Ranges";"DrawingsSections.annotations" = "Annotations";//**MARK: ChartType**"ChartType.candle" = "Candles";"ChartType.bar" = "Bar";"ChartType.line" = "Line";"ChartType.area" = "Area";"ChartType.equivolume" = "Equivolume";"ChartType.heikinAshi" = "Heikin-Ashi";"ChartType.scatter" = "Scatter";"ChartType.hollowCandle" = "Hollow Candle";"ChartType.histogram" = "Histogram";"ChartType.baseline" = "Baseline";"ChartType.trend" = "Trend";//**MARK: PriceType**"PriceType.last" = "Last";"PriceType.market" = "Market";"PriceType.bid" = "Bid";"PriceType.ask" = "Ask";//**MARK: ScaleType**"ScaleType.regular" = "Regular";"ScaleType.percent" = "Percent";"ScaleType.logarithmic" = "Logarithmic";//**MARK: MagnetMode**"MagnetMode.title" = "Magnet mode";"MagnetMode.description" = "The magnet will help you snap drawings to the data on the chart. Tap the magnet icon again to disable it.";//**MARK: DrawingMode**"DrawingMode.title" = "Drawing mode";"DrawingMode.description" = "In this mode you will continue using the drawing you choose until you turn drawing mode off or save work.";//**MARK: TextDrawingHelp**"TextDrawingHelp.title" = "Double tap to edit";"TextDrawingHelp.description" = "All text drawings are easy tochange by double tapping ona bubble with a text.";//**MARK: Timezone**"Timezone.exchange" = "Exchange";"Timezone.title" = "Timezone";//**MARK: EditText**"EditText.placeholder" = "Write annotation...";"EditText.screenTitle" = "Add text";//**MARK: Search**"Search.symbol.title" = "Symbol not found";"Search.symbol.subtitle" = "Your search did not matchany symbol or description";"Search.timezone.title" = "Timezone not found";"Search.timezone.subtitle" = "Your search did not matchany timezone";"Search.indicator.title" = "Indicator not found";"Search.indicator.subtitle" = "Your search did not matchany indicator";//**MARK: Template**"Template.delete" = "Delete template";"Template.newTemplateWithNumb" = "New Template %d";"Template.newTemplate" = "New Template";"Template.EditTemplate" = "Edit Template";"Template.CreateNewTemplate" = "Create new template";"Template.CreateTemplate" = "Create template";//**MARK: Indicator Screen**"Indicator.title" = "Indicators";"Indicator.turnOff" = "Turn off all";"Indicator.configure" = "Configure";//**MARK: Events**"Events.Splits" = "Split %d/%d";"Events.Date" = "Date";"Events.Gross" = "Gross";"Events.BasicEPS" = "Basic EPS";"Events.DilutedEPS" = "Diluted EPS";"Events.PeriodEnding" = "Period Ending";//**MARK: Alert**"Alert.SessionBreaks.title" = "Session breaks are disabled";"Alert.SessionBreaks.body" = "You can't change session breaks while aggregation is more then 1 day";"Alert.ExtendedHours.title" = "Extended hours are disabled";"Alert.ExtendedHours.body" = "Cannot display data beyond one day. To enable extended hours, adjust timeframe on home screen.";"Alert.ScaleTypePercent.title" = "Setting is disabled";"Alert.ScaleTypePercent.body" = "You can't change this setting while scale type is percent";"Alert.ScaleTypeNotRegular.title" = "Setting is disabled";"Alert.ScaleTypeNotRegular.body" = "You can't change this setting while scale type is not regular";"Alert.Aggregation.NotSupportedSecondsAggregations.title" = "Real-time data is not supported for "seconds" aggregation";